package marking.liu.mapper;

import marking.liu.pojo.domain.SectorIndicesDomain;
import marking.liu.pojo.entity.StockBlockRtInfo;

import java.util.List;

/**
* @author marking liu
* @description 针对表【stock_block_rt_info(股票板块详情信息表)】的数据库操作Mapper
* @createDate 2024-07-18 23:42:52
* @Entity marking.liu.pojo.entity.StockBlockRtInfo
*/
public interface StockBlockRtInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockBlockRtInfo record);

    int insertSelective(StockBlockRtInfo record);

    StockBlockRtInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBlockRtInfo record);

    int updateByPrimaryKey(StockBlockRtInfo record);

    /**
     * 查询板块指数
     * @param sectorIndicesDomain
     * @return
     */
    List<SectorIndicesDomain> sectorAllLimit(SectorIndicesDomain sectorIndicesDomain);


    /**
     * 添加板块数据
     * @param stockBlockRtInfo
     */
    void addBatch(StockBlockRtInfo stockBlockRtInfo);
}
